package com.yunxin.core.infra.persistence.mapper.user;

import com.yunxin.core.domain.model.user.UserIpInfo;
import com.yunxin.core.infra.persistence.entity.user.UserIpInfoDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserIpInfoMapper {
    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Long id);

    /**
     *
     * @mbg.generated
     */
    int insert(UserIpInfoDO row);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(UserIpInfoDO row);

    /**
     *
     * @mbg.generated
     */
    UserIpInfoDO selectByPrimaryKey(Long id);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(UserIpInfoDO row);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(UserIpInfoDO row);

    List<UserIpInfo> selectIpList(@Param("start") String start,@Param("end") String end);
}